package com.todo.strategy.online.iface;


import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.strategy.online.iface.request.FollowFeedStreamStrategyParam;
import com.todo.strategy.online.iface.request.RecommendStrategyListV1Param;
import com.todo.strategy.online.iface.request.SearchPlatformStrategyParam;
import com.todo.strategy.online.iface.request.SearchStrategyParam;
import com.todo.strategy.online.iface.response.StrategyBaseVO;

/**
 * @author azhebuxing
 * @date 2024/5/9 16:06
 * @description
 */
public interface StrategyPortalIface {

    /**
     * 根据关键词搜索攻略列表（平台+用户）
     *
     * @param param
     * @return
     */
    BizPageResponse<StrategyBaseVO> searchStrategy(SearchStrategyParam param);

    /**
     * 根据关键词搜索平台攻略列表
     *
     * @param param
     * @return
     */
    BizPageResponse<StrategyBaseVO> searchPlatformStrategy(SearchPlatformStrategyParam param);

    /**
     * 根据用户关注的feed流查询攻略列表
     *
     * @param param
     * @return
     */
    BizPageResponse<StrategyBaseVO> followFeedStreamStrategy(FollowFeedStreamStrategyParam param);

    /**
     * 攻略推荐列表入口 V1版本
     * 注：内部可以根据用户登录地址（未开发）、登录时间、喜好、内容点赞、评论数等做基础推荐
     *
     * @param param
     * @return
     */
    BizPageResponse<StrategyBaseVO> recommendPlatformStrategyListV1(RecommendStrategyListV1Param param);
}
